package com.itheima.libs;

import com.itheima.bean.User;

public class TakeoutUtils {
    //生成订单id
    public static String getOrderId(User user) {
        return user.getUsername() + "_" + System.currentTimeMillis();
    }

}
